/**
 * 
 */
package core;

import java.awt.event.MouseEvent;

import utilidades.ViewerData;
import utilidades.robot;
import icore.ICoreMouse;

/**
 * @author Elkin Torres
 *
 */
public class CoreMouse implements ICoreMouse {

	private robot robot;
	/**
	 * 
	 */
	private static final long serialVersionUID = 4221049745462271463L;
	
	public void setRobot(robot robot) {
		this.robot = robot;
	}

	@Override
	public void ejecutarEvento(MouseEvent evento, ViewerData viewerData) {
		robot.applyMouseEvent(evento, viewerData);
	}
}
